package com.sl.au.service;

import java.util.List;

import com.sl.au.entity.News;
import com.sl.au.repository.NewsRepository;

public interface NewsService extends BaseService {
	NewsRepository getRepository();
	
	void savaNews(News news);
	
	List<News> getNewsByKey(int start, int length, String key, String orderName, String dir);
	
	int getNewsByKeyCount(String key);
}
